package com.hfxt.mapper;
import com.hfxt.dto.MaintainOrderDto;
import  com.hfxt.po.MaintainOrder;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

public interface MaintainOrderMapper {

	public MaintainOrder getMaintainOrderById(@Param(value = "id") Long id);

	public List<MaintainOrder>	getMaintainOrderListByMap(Map<String,Object> param);

	public Integer getMaintainOrderCountByMap(Map<String,Object> param);

	public Integer insertMaintainOrder(MaintainOrder maintainOrder);

	public Integer updateMaintainOrder(MaintainOrder maintainOrder);

	public Integer deleteMaintainOrderById(@Param(value = "id") Long id);

	public Integer batchDeleteMaintainOrder(Map<String,List<String>> params);

	/**
	 * 根据订单编号查询订单Dto信息
	 *
	 * @param orderNo
	 * @return
	 */
	MaintainOrderDto selectDtoByOrderNo(String orderNo);

	/**
	 * 根据订单编号查询订单信息
	 *
	 * @param orderNo
	 * @return
	 */
	MaintainOrder selectByOrderNo(String orderNo);

}
